<template>
  <div class="hm-button" @click="handleBtnClick">
    <slot></slot>
  </div>
</template>

<script>
export default {
  methods: {
    handleBtnClick () {
      this.$bus.$emit('btnClick')
      this.$emit('click')
    }
  }
}
</script>

<style lang="scss" scoped>
.hm-button {
  height: 48px;
  line-height: 48px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  border-radius: 999rem;
  background-color: #c30;
}
</style>
